/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase2203 - Out2
 * <p>Powered by webrx On 2022-07-14 15:10:03
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Out2 {
    public static void main(String[] args) {
         //31
        //文字颜色 30 黑色 31 红  32 绿 33 黄  34 蓝 35 粉 36 青 37 灰 38 白
        System.out.print("\033[30mhello ");
        System.out.print("\033[31mhello ");
        System.out.print("\033[32mhello ");
        System.out.print("\033[33mhello ");
        System.out.print("\033[34mhello ");
        System.out.print("\033[35mhello ");
        System.out.print("\033[36mhello ");
        System.out.print("\033[37mhello ");
        System.out.print("\033[38mhello ");
        System.out.print("\033[39mhello ");
        System.out.println("\n");
        System.out.println("http://www.baidu.com");
        System.out.println();
        //文字颜色为白色，设置背景颜色
        System.out.print("\033[40mhello\033[0m ");
        System.out.print("\033[41mhello\033[0m ");
        System.out.print("\033[42mhello\033[0m ");
        System.out.print("\033[43mhello\033[0m ");
        System.out.print("\033[44mhello\033[0m ");
        System.out.print("\033[45mhello\033[0m\n\n");
        System.out.print("\033[45m\033[36mhello");
    }
}
